package com.xiaoxiaoxt.xiaoxiaoxtdao.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "roles")
public class Role extends BaseModel{
    @Id
    private Integer id;

    private String name;

    private String slug;

    private Date createdAt;

    private Date updatedAt;
}